package com.alks.function.data.dto.biocontrol.webwork;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/12/4下午2:27
 */
@Data
public class ProdOutTempDto {

    @ApiModelProperty(value = "操作类型")
    private String collectType;

    @DateTimeFormat("yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出库日期")
    private LocalDateTime collectTime;

    @ApiModelProperty(value = "工厂ID")
    private String vendorNo;

    @ApiModelProperty(value = "工厂名称")
    private String vendorName;

    @ApiModelProperty(value = "双数")
    private BigDecimal pairQty;

    @ApiModelProperty(value = "货柜号")
    private String containerNo;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @DateTimeFormat("yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @ApiModelProperty(value = "配码")
    private BigDecimal groupNo;

    @ApiModelProperty(value = "PO")
    private String poNo;

    @ApiModelProperty(value = "操作人")
    private String sysUser;

    @DateTimeFormat("yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime sysDate;

}
